package com.rybbaby.tss.front.tssMemberFollowUpRecord.service;


import com.rybbaby.tss.core.web.service.IBaseService;
import com.rybbaby.tss.front.tssMemberAddSubtractRecord.entity.TssMemberAddSubtractRecord;
import com.rybbaby.tss.front.tssMemberFollowUpRecord.entity.TssMemberFollowUpRecord;
import com.sun.javafx.collections.MappingChange;

import java.util.List;
import java.util.Map;

/**
 * @author 雷春琼
 * @description 会员跟进记录数据库操作服务接口
 * @createDate 2017-08-10 上午12:22:55
 */
public interface ITssMemberFollowUpRecordService extends IBaseService<TssMemberFollowUpRecord> {

    /**
     * 查询会员跟进记录
     *
     * @param memberId
     * @param type
     * @return
     */
    List<Map<String, Object>> getDetailListByMemberId(String memberId, Integer type);

    /**
     * 添加跟进记录
     *
     * @param entity
     * @return
     */
    Boolean saveOrUpdateEntity(TssMemberFollowUpRecord entity);
}
